//
//  CustomAnnotationView.h
//  DingDongXiChe
//
//  Created by wtjr on 2018/1/5.
//  Copyright © 2018年 xieyingze. All rights reserved.
//

#import <MAMapKit/MAMapKit.h>
#import "CustomCalloutView.h"
#import "AppHeader.h"
#import "ServiceModel.h"

typedef void(^kClickAnnotationCompketed)(ServiceModel *model);

/**
 自定义点标注
 */
@interface CustomAnnotationView : MAAnnotationView
///点击点标注的详情视图
@property (nonatomic, readonly) CustomCalloutView *calloutView;
///calloutView详情的icon
@property (nonatomic, copy) NSString *imageUrl;
///地图点标注的icon
@property (nonatomic, copy) NSString *annotationImageUrl;

@property (nonatomic, strong) ServiceModel *model;

@property (nonatomic, copy) kClickAnnotationCompketed clickCompleted;

@end

